<include file="Index/header" />
<include file="Index/left" />
<!-- 内容区域 -->
<!-- 内容区域 -->
<div class="tpl-content-wrapper">
    <div class="row-content am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title  am-cf">留言列表</div>


                    </div>
                    <div class="widget-body  am-fr">
                        
                        <div class="am-u-sm-12">
                            <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black missj-table">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>客户名称</th>
                                    <th>联系电话</th>
                                    <th>电子邮箱</th>
                                    <th>详细需求</th>
                                    <th>留言时间</th>
                                    <th>删除</th>

                                </tr>
                                </thead>
                                <tbody>
                                <volist name="message" id="mes">
                                <tr class="gradeX">
                                    <td class="am-text-middle">{$mes.id}</td>
                            
                           
                                    <td class="am-text-middle">{$mes.username}</td>
                                    
                                    <td class="am-text-middle">{$mes.tel}</td>
                                    <td class="am-text-middle">{$mes.email}</td>
                                    <td class="am-text-middle">{$mes.content}</td>
                                    <td class="am-text-middle">{$mes.creatdate}</td>
                                    <td class="am-text-middle">
                                    	 <a href="javascript:void(0)" id="message-delete"  attr-id="{$mes.id}" attr-message="删除" class="tpl-table-black-operation-del">
                                                <i class="am-icon-trash"></i> 删除
                                            </a>
                                    </td>
                     
                                    
                                </tr>
                                </volist>
                                <!-- more data -->
                                </tbody>
                            </table>
                        </div>
                        <div class="am-u-lg-12 am-cf">

                            <div class="am-fr">
                                {$pageres}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
<script>
    var SCOPE = {
        'message_del_url' : 'admin.php?c=Message&a=del',

    }
</script>
<include file="Index/footer" />